(function() {
    angular.module('app').factory('linkComponentService', linkComponentService);

    linkComponentService.$inject = ['$q', 'util'];

    function linkComponentService($q, util) {

        return {
            get: _get
        };

        function _get() {

            var defer = $q.defer();

            util.$get({
                url: ''
            }).then(function(resp) {

                defer.resolve(resp);

            }, function(err) {

                defer.reject(err);

            });


            return defer.promise;
        }
    }
})();
